package com.zmj.sy.mom.srv.aps.bean.vo.completeReport;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 功能描述
 *
 * @author: hejiahui
 * @since: 2023年06月06日 9:56
 */
@Data
public class IntegralityVo {
    @ApiModelProperty("查询数据类型")
    private String plase;

    @ApiModelProperty("plmid")
    private String plmid;

    @ApiModelProperty("零件名")
    private String partName;

    @ApiModelProperty("拆包号")
    private String packageNo;

    @ApiModelProperty("每包数量")
    private Integer packNum;

    @ApiModelProperty("父物料plmid")
    private String parentPlmid;

    @ApiModelProperty("查询目标数量")
    private String finishedSetCnt;

    public String getPlmid() {
        if (plmid == null) {
            return "/";
        }
        return plmid;
    }

    public String getPartName() {
        if (partName == null) {
            return "/";
        }
        return partName;
    }

    public String getParentPlmid() {
        if (parentPlmid == null) {
            return "";
        }
        return parentPlmid;
    }

    public String getFinishedSetCnt() {
        if (finishedSetCnt == null) {
            return "/";
        }
        return finishedSetCnt;
    }
}
